//This header contains process structure and fn
#include "th.h"
#include "defines/types.h"

struct proc
{
    //priority
    prior_t prior;
    iproc_t id;
    reg_t ds;
    //for global vars, proc stack
    reg_t ss;
    short int n_k_th;
    th u_th[MAX_U_TH];
    state_t state;
    //file pointers
    //file_p *f_p;
};

static struct proc proc_table[MAX_PROC];
static short int proc_count=0;
